I did the tutorial and even downloaded the source code and both times blog/2 does not work.
I get
Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/blog/2/ Using the URLconf defined in mysite.urls, Django tried these URL patterns, in this order: ^admin/ ^ ^$ [name='index'] ^ ^contact/$ [name='contact'] ^blog/ ^$ ^blog/ ^(?P<pk>d+)$ The current URL, blog/2/, didn't match any of these.
You must be logged in to post. Please login or register an account.
If there is no blog #2 to be shown, then you would get a 404. Guessing that's the case. Try adding some blogs and try again.
-Harrison 9 years ago
You must be logged in to post. Please login or register an account.
there is a second blog, its from the source code part10.zip
I believe you have 4 blogs on the page. This is the amazing grace blog.
-joshua.dan 9 years ago
You must be logged in to post. Please login or register an account.